

#ifndef FIELD_H
#define FIELD_H

#include <SDL/SDL.h>
#include "entity.h"
#include "define.h"
#include "surface.h"

class Field {
  
public:
  Field();
  ~Field();
  
  void OnLButtonDown(int mX, int mY);
  
  void Draw(SDL_Surface* Surf_Display);
  bool Load(char* file);
    
private:
  SDL_Surface* surf_tileset;

  int cellBg[MAP_WIDTH][MAP_HEIGHT];
  Entity* cellEntity[MAP_WIDTH][MAP_HEIGHT];
};

#endif
